package com.resou.reader.api.entry;

public class CommonshelfData<T> {
    public T data;
    private float userPrice;

    public int page;

    public int pagesize;
    /**
     * userPrice : 11.89
     * readRecord : {"coverUrl":"http://qidian.qpic.cn/qdbimg/349573/c_11892460404822803/180","novelId":"11892460404822803yw","novelName":"都市之我就是神豪","description":"他继承了一个活了九万年的人的一切，\r\n一个活了九万年的人有多少财产？\r\n房子不是几套，要看是多少栋。\r\n汽车？不你得问有几个汽车公司。\r\n游艇？飞机？妹子？这些都不是问题。\r\n他只想说，从这一刻起，他就是神豪！","chapterId":"34486627063670998","chapterName":"第328章 我的地盘我说了算（第4更）","readTimeMs":1560394553,"chapterIndex":327,"chapterNum":533,"zsBookId":null,"lastChapterName":"第665章 直接揍（下）","freeStatus":1,"serialStatus":0}
     */

    private ReadRecordBean readRecord;

    public float getUserPrice() {
        return userPrice;
    }

    public void setUserPrice(float userPrice) {
        this.userPrice = userPrice;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

    @Override
    public String toString() {
        return "BookDetailJson{" +
                "data=" + data +
                '}';
    }
    public int getPage() {
        return page;
    }

    public void setPage(int page) {
        this.page = page;
    }

    public int getPagesize() {
        return pagesize;
    }

    public void setPagesize(int pagesize) {
        this.pagesize = pagesize;
    }

    public ReadRecordBean getReadRecord() {
        return readRecord;
    }
    public void setReadRecord(ReadRecordBean readRecord) {
        this.readRecord = readRecord;
    }
    public static class ReadRecordBean {
        /**
         * coverUrl : http://qidian.qpic.cn/qdbimg/349573/c_11892460404822803/180
         * novelId : 11892460404822803yw
         * novelName : 都市之我就是神豪
         * description : 他继承了一个活了九万年的人的一切，
         一个活了九万年的人有多少财产？
         房子不是几套，要看是多少栋。
         汽车？不你得问有几个汽车公司。
         游艇？飞机？妹子？这些都不是问题。
         他只想说，从这一刻起，他就是神豪！
         * chapterId : 34486627063670998
         * chapterName : 第328章 我的地盘我说了算（第4更）
         * readTimeMs : 1560394553
         * chapterIndex : 327
         * chapterNum : 533
         * zsBookId : null
         * lastChapterName : 第665章 直接揍（下）
         * freeStatus : 1
         * serialStatus : 0
         */

        private String coverUrl;
        private String novelId;
        private String novelName;
        private String description;
        private String chapterId;
        private String chapterName;
        private int readTimeMs;
        private int chapterIndex;
        private int chapterNum;
        private String zsBookId;
        private String lastChapterName;
        private int freeStatus;
        private int serialStatus;


        public String getCoverUrl() {
            return coverUrl;
        }

        public void setCoverUrl(String coverUrl) {
            this.coverUrl = coverUrl;
        }

        public String getNovelId() {
            return novelId;
        }

        public void setNovelId(String novelId) {
            this.novelId = novelId;
        }

        public String getNovelName() {
            return novelName;
        }

        public void setNovelName(String novelName) {
            this.novelName = novelName;
        }

        public String getDescription() {
            return description;
        }

        public void setDescription(String description) {
            this.description = description;
        }

        public String getChapterId() {
            return chapterId;
        }

        public void setChapterId(String chapterId) {
            this.chapterId = chapterId;
        }

        public String getChapterName() {
            return chapterName;
        }

        public void setChapterName(String chapterName) {
            this.chapterName = chapterName;
        }

        public int getReadTimeMs() {
            return readTimeMs;
        }

        public void setReadTimeMs(int readTimeMs) {
            this.readTimeMs = readTimeMs;
        }

        public int getChapterIndex() {
            return chapterIndex;
        }

        public void setChapterIndex(int chapterIndex) {
            this.chapterIndex = chapterIndex;
        }

        public int getChapterNum() {
            return chapterNum;
        }

        public void setChapterNum(int chapterNum) {
            this.chapterNum = chapterNum;
        }

        public String getZsBookId() {
            return zsBookId;
        }

        public void setZsBookId(String zsBookId) {
            this.zsBookId = zsBookId;
        }

        public String getLastChapterName() {
            return lastChapterName;
        }

        public void setLastChapterName(String lastChapterName) {
            this.lastChapterName = lastChapterName;
        }

        public int getFreeStatus() {
            return freeStatus;
        }

        public void setFreeStatus(int freeStatus) {
            this.freeStatus = freeStatus;
        }

        public int getSerialStatus() {
            return serialStatus;
        }
        public void setSerialStatus(int serialStatus) {
            this.serialStatus = serialStatus;
        }
    }
}
